<?php
/**
 */

class Email extends CI_Controller
{

	public function __construct()
	{
		parent::__construct();
		$this->load->library('email');
	}

	public function index()
	{

		$this->email->from('1054827848@qq.com','无休无止');
		$this->email->to('1018681345@qq.com');
		$this->email->subject('试试看');
		$this->email->message('试试就试试');
		$this->email->send();

		echo $this->email->print_debugger();

		// 可能在邮箱设置上有问题

	}

}